import React, {Component} from 'react';
import {Route,BrowserRouter,Switch} from 'react-router-dom'
import App from "../pages/app";
import Home from "../pages/Home/Home";

class AppRouter extends Component {
    render() {
        return (
            <BrowserRouter>
                <Switch>
                    <App>
                        <Route path="/" component={ Home } />
                    </App>
                </Switch>
            </BrowserRouter>
        );
    }
}

export default AppRouter;